#include<stdio.h>
#include<math.h>
int main()
{
	double a,b,c,x1,x2;
	scanf("%lf %lf %lf",&a,&b,&c);
	if(b*b-4*a*c>0);
	double m=sqrt(b*b-4*a*c);
	x1=(-b+m)/(2*a);
	x2=(-b-m)/(2*a);
	printf("%7.2lf%7.2lf",x1,x2);
	return 0;
	
}
